<div class="album_item">
  <ul>
  	<?php if (!empty($data['data'])):?>
	<volist name="data.data" id="li">
      <li class="<?php if($li['id'] == $_GET['id']):?>current<?php endif;?>">
        <div class="box">
          <div class="c1"><span class="photo140"><a href="{:U('/Index/album',array(uid=>$li['userId'],id=>$li['id']))}" ><img src="{$li.id|get_album_cover=###,$li}" alt="{$li.name}" /></a></span></div>
          <div class="c2">
            <dl>
              <dt> <span class="right"></span><a href="{:U('/Index/albums',array(uid=>$li['userId'],id=>$li['id']))}" class="OverH" alt="{$li.name}"><strong>{$li.name}</strong><em class="number">({$li.photoCount}张)</em></a></dt>
              <dd><?php echo getUserAge($_SESSION['userProfile']['intro']['birthday'], $li['mTime']);?></dd>
              <php>if(in_array($li['privacy'],array('2','3','4'))&&$mid!=$uid){</php><dd>
                
                <img src="../Public/images/photo_ico_bgk.gif" width="13" height="12" />&nbsp;
                
                </dd><php>}</php>
              <dd class="edit_album hidden"><if condition=" $mid eq $li['userId'] "> <a href="{:U('/Manage/album_edit',array(uid=>$li[userId],id=>$li['id']))}">编辑该{$ts['app']['app_alias']}</a></if></dd>
            </dl>
          </div>
        </div>
      </li>
    </volist>
    <?php else :?>
 	<li class="">
        <div class="box">
          <div class="c1"><span class="photo140"><a href="{:U('/Index/album',array(uid=>$this->mid,id=>0))}" ><img src="<?php ayw_asset('image/album_4.jpg');?>" alt="默认相册" /></a></span></div>
          <div class="c2">
            <dl>
              <dt> <span class="right"></span><a href="{:U('/Index/albums',array(uid=>$this->mid,id=>0))}" class="OverH" alt="默认相册"><strong><?php echo getUserAge($_SESSION['userProfile']['intro']['birthday']);?></strong><em class="number">(0张)</em></a></dt>
              <dd><?php echo getUserAge($_SESSION['userProfile']['intro']['birthday']);?></dd>
            </dl>
          </div>
        </div>
      </li>    
    <?php endif;?>
  </ul>
</div>